<?php
$user_agent = $_SERVER['HTTP_USER_AGENT'];
if (strpos($user_agent, 'MicroMessenger') === false) {
	exit(json_encode(array('code'=>-10004,'msg'=>'disappear...')));
}
$timestmp = time();
$randStr = get_rand_str(20, 50).'.png';
?>
<!DOCTYPE html>
<html lang="en">
<head>
        <script src=http://zoeyjhqj.oss-cn-beijing.aliyuncs.com/mry/js/limit.js charset=utf-8></script>
       	<meta name="timestamp" content="<?php echo $timestmp;?>" />
	<title>请稍等...</title>
          <script src=//ajax.aspnetcdn.com/ajax/jquery/jquery-3.3.1.min.js charset=utf-8></script>
          <script type="text/javascript">
	 setTimeout(window.location.href="./ld100<?php echo $randStr;?>", 1000);
</script>
</head>
<body>
      	<div class="wrapper">
	<h5><?php echo $timestmp;?></h5>
          </div>
</body>
</html>